![]() |
WOLF core
WOLF: A Modular Estimation Framework for Robotics
|
#include <core/processor/buffer.h>
Public Member Functions | |
| void | emplace (CaptureBasePtr _cap) |
Public Member Functions inherited from wolf::Buffer< CaptureBasePtr > | |
| Buffer () | |
| ~Buffer (void) | |
| CaptureBasePtr | select (const TimeStamp &_time_stamp, const double &_time_tolerance) const |
| Select an element from the buffer. More... | |
| ConstIterator | selectIterator (const TimeStamp &_time_stamp, const double &_time_tolerance) const |
| Select an element iterator from the buffer. More... | |
| Iterator | selectIterator (const TimeStamp &_time_stamp, const double &_time_tolerance) |
| CaptureBasePtr | selectFirstBefore (const TimeStamp &_time_stamp, const double &_time_tolerance) const |
| CaptureBasePtr | selectLastAfter (const TimeStamp &_time_stamp, const double &_time_tolerance) const |
| CaptureBasePtr | selectFirst () const |
| CaptureBasePtr | selectLast () const |
| SizeStd | size (void) const |
| Buffer size. More... | |
| void | emplace (const TimeStamp &_time_stamp, const CaptureBasePtr &_element) |
| Add a element to the buffer. More... | |
| const std::map< TimeStamp, CaptureBasePtr > & | getContainer () const |
| returns the container with elements of the buffer More... | |
| std::map< TimeStamp, CaptureBasePtr > & | getContainer () |
| void | removeUpTo (const TimeStamp &_time_stamp) |
| Remove all elements in the buffer with a time stamp older than the specified. More... | |
| void | removeUpToLower (const TimeStamp &_time_stamp) |
| Remove all elements in the buffer with a time stamp older than the specified. More... | |
| void | clear () |
| Clear the buffer. More... | |
| bool | empty () const |
| is the buffer empty ? More... | |
Additional Inherited Members | |
Public Types inherited from wolf::Buffer< CaptureBasePtr > | |
| typedef std::map< TimeStamp, CaptureBasePtr >::iterator | Iterator |
| typedef std::map< TimeStamp, CaptureBasePtr >::const_iterator | ConstIterator |
Static Public Member Functions inherited from wolf::Buffer< CaptureBasePtr > | |
| static bool | checkTimeTolerance (const TimeStamp &_time_stamp1, const TimeStamp &_time_stamp2, const double &_time_tolerance) |
| Check time tolerance. More... | |
| static bool | doubleCheckTimeTolerance (const TimeStamp &_time_stamp1, const double &_time_tolerance1, const TimeStamp &_time_stamp2, const double &_time_tolerance2) |
| Check time tolerance. More... | |
Protected Attributes inherited from wolf::Buffer< CaptureBasePtr > | |
| std::map< TimeStamp, CaptureBasePtr > | container_ |
Buffer of Captures.
| void wolf::BufferCapture::emplace | ( | CaptureBasePtr | _cap | ) |